package com.ruoyi.tea.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 意见反馈对象 tea_proposal
 *
 * @author ruoyi
 * @date 2022-07-31
 */
public class TeaProposal extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private Long id;

    /**
     * 用户微信编号
     */
    private String openId;

    /**
     * 用户编号
     */
    @Excel(name = "用户编号")
    private String userCode;

    /**
     * 意见
     */
    @Excel(name = "意见")
    private String message;

    /**
     * 0正常1删除
     */
    private Integer status;
    /**
     * 0正常1删除
     */
    @Excel(name = "昵称")
    private String nickName;
    @Excel(name = "姓名")
    private String name;
    @Excel(name = "电话")
    private String phone;

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    public String getUserCode() {
        return userCode;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getMessage() {
        return message;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getStatus() {
        return status;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("openId", getOpenId())
                .append("userCode", getUserCode())
                .append("message", getMessage())
                .append("createTime", getCreateTime())
                .append("status", getStatus())
                .append("nickName", getNickName())
                .append("name", getName())
                .append("phone", getPhone())
                .toString();
    }
}
